<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no" />
		<title>首页</title>
		<link rel="stylesheet" type="text/css" href="../c/aui.css" />
		<style>
/*			#sx-header {
				background: #161823;
			}
			img {
				width: 2rem;
			}
			.wu {
				background: none !important;
			}
			.wu .aui-title {
				opacity: 0;
			}*/
			html,body{
 background-color:transparent;
			}
	 		#sx-header{
	 		 	background: #161823 !important;
	 		 	position: relative;
	 		 	opacity:0;
	 		 	padding-right: 2.5rem;
	 		}
	 		.aui-pull-left,.aui-pull-right{
	 			position: absolute;
	 			top: 0;
	 			min-height: 2.25rem;
	 			line-height:2.25rem;
	 			background:none;
	 			text-overflow:ellipsis;
	 			z-index: 999;
	 			padding: 0 0.35rem;
	 		}
	 		.aui-pull-left{
	 			left: 0;
	 		}
	 		.aui-pull-right{
	 			right:0;
	 		}
	 		.aui-btn img{
	 			width: 2rem;
	 		}
	 		.aui-bar-nav .sx-btn span{
	 			background: #FE2C55 !important;
	 			height: 1.45rem;
	 			line-height:1.45rem;
	 			display: inline-block;
	 			font-size: 0.75rem;
	 			padding: 0 0.5rem;
	 			border-radius: 0.15rem;
	 			color: #fff;
	 			font-weight: bold;
	 		}

		</style>
	</head>
	<body>
		<a class="aui-pull-left aui-btn l" tapmode onclick="c()"> <img src="../i/left.png" /></a>
		<header class="aui-bar aui-bar-nav t" id="sx-header">
			<a class="aui-pull-left aui-btn" tapmode onclick="_close();"></a>
			<div class="aui-title">
				速翔网络
			</div>
			<a class="aui-pull-right aui-btn sx-btn" tapmode onclick="guanzhus()">
				<span>关注</span>
			</a>
		</header>
		<a class="aui-pull-right aui-btn r" tapmode onclick="c()"> <img src="../i/right.png" /></a>
	</body>
	<script type="text/javascript" src="../j/api.js"></script>
	<script type="text/javascript">
		apiready = function() {
			$api.fixStatusBar($api.dom('.t'));
			if(api.pageParam['name'] == 'member'){
				$api.addCls($api.dom('.l'),'aui-hide');
				$api.addCls($api.dom('.sx-btn'),'aui-hide');
				$api.addCls($api.dom('.r'),'aui-hide');
			}else{
				$api.fixStatusBar($api.dom('.l'));
				$api.fixStatusBar($api.dom('.r'));
			}
			var header = $api.offset($api.dom('#sx-header'));
			api.setFrameAttr({
				name : 'member_header',
				rect : {
					x : 0,
					y : 0,
					w : 'auto',
					h : header.h,
				},
			});
			api.execScript({
				frameName : 'member',
				script : '_header_h("' + header.h + '")'
			});
		}
		function wu(a) {
			$('header').css('opacity',a);
		}
		function guanzhus(){
			// var csss = $('header').css("opacity");
			// if(!csss){
			// 	return;
			// }
			if($('.sx-btn').hasClass('aui-hide')){
				return;
			}
			api.execScript({
				frameName : 'member',
				script : 'guanzhus()'
			});
		}
		function guanzhu_cls(type){
			var _this = $('.sx-btn');
			if(!type){
				_this.addClass('aui-hide');
			}else{
				_this.removeClass('aui-hide');
			}
		}
	</script>
</html>
